package com.example.demo.mapper;

import com.example.demo.entity.SharedPlatform;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SharedPlatformMapper {
    //上传文件
    int insertSharedPlatformFile(@Param("name") String name, @Param("time")String time, @Param("uid")int uid,@Param("path")String path);

    //查询
    List<SharedPlatform> selectAll(String name);

    //删除
    int delete(int id);

    //根据id查找path
    String queryPath(int id);
}
